home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Hyper Education / Organizational Aids / TestingStack / TestingStack / card_11841.txt < prev    next >
Encoding:
Text File  |  1988-04-23  |  2.2 KB  |  50 lines

  1. -- card: 11841 from stack: in
  2. -- bmap block id: 13009
  3. -- flags: 4000
  4. -- background id: 11105
  5. -- name: About....
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 0001
  11. -- rect: left=434 top=282 right=321 bottom=482
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 14953 / 14953
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   visual effect iris close
  23.   pop card
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part 3 (field)
  29. -- low flags: 00
  30. -- high flags: 0007
  31. -- rect: left=59 top=69 right=325 bottom=413
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 0
  35. -- font id: 3
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: 
  40.  
  41.  
  42. -- part contents for card part 3
  43. ----- text -----
  44.  
  45.      This is an example of how Hypercard can administer a timed test, score it, and provide the test taker with the option to review those questions that were incorrect.  The userLevel is set to 1 and the menuBar hidden on openStack for obvious reasons.
  46.      The amount of time to take the test can be changed by editing the 9th line of the mouseUp message handler of the exam button on the first card.  It is currently set at 30 seconds per question for 10 questions.  If the user exceeds the allowed time for the test, he/she is provided with the option to start over or go Home.  The user is informed as to the amount of time allowed to take the test at the beginning.
  47.      The correct answer for a given question is easily changed by cutting and pasting the scripts of the answer buttons and editing the "set hilite.." commands of the button scripts so that they correspond to the appropriate button.  One must also edit the closeCard and reView message handlers of each card's script to indicate the new correct answer such that Teststack will "know" if the question was answered correctly or incorrectly.  Sounds laborious, but it is actually quite simple and quick.
  48.      If you like this or have suggestions for improvements or if you think this was a complete waste of download time, let me know.
  49. G.S. Young-- CompuServe: 73230,2516
  50.                     GEnie Mail: G.YOUNG2